//
//  avg.m
//  Day8homework
//
//  Created by dllo on 16/5/13.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "avg.h"

int avg(struct Student a){
    int avg3 = (a.Math.score + a.English.score + a.Chinese.score) / 3;
    return avg3;
}
